package cn.king.springframework.bean.test.common;

import cn.king.springframework.context.ApplicationEvent;

public class CustomerEvent extends ApplicationEvent {
    private Long id;
    private String message;
    public CustomerEvent(Object source,Long id,String mesage) {
        super(source);
        this.id = id;
        this.message = mesage;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
